fontSizes
Type
function
Summary
Returns a list of the font sizes available for a specified font.
Syntax
the fontSizes of <fontName>
fontSizes(<fontName>)
Description
Use the fontSizes function to determine which font sizes can be displayed or printed without creating "jaggies".
If zero appears in the list returned by the fontSizes function, the font is scalable, meaning that it can be displayed at any size supported by the operating system.
Parameters
Name | Type | Description |
---|---|---|
fontName | The name of a font that is installed on the system. |
Examples
the fontSizes of "Arial"
Related
keyword: line
control structure: function
function: fontStyles
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile